#########################################################################
# File Name: go.sh
# Author: asia.rabbit
# mail: asia.rabbit@163.com
# Created Time: Sun 04 Feb 2024 05:52:43 PM CST
#########################################################################
#!/bin/bash

path=../data/dec2023
exe=./ana
uid=0

# CH2 TA
# TOTAL EVENTS: 214w
# 48w
$exe $path/20231231_1153.dat $path/20231230.020 $path/f1/20231231_1153.dat -u$uid
# 40w
$exe $path/20231231_1035.dat $path/20231230.018 $path/f1/20231231_1034.dat -u$uid
# 40w QDC closed from this on in time dimension
$exe $path/20231231_0910.dat $path/20231230.017 $path/f1/20231231_0909.dat -u$uid
# 44w
$exe $path/20231231_0715.dat $path/20231230.016 $path/f1/20231231_0713.dat -u$uid
# 42w (423195)
$exe $path/20231231_0525.dat $path/20231230.015 $path/f1/20231231_0524.dat -u$uid

hadd -f ch.root 20231231_1153.dat_$uid.root 20231231_1035.dat_$uid.root \
  20231231_0910.dat_$uid.root 20231231_0715.dat_$uid.root 20231231_0525.dat_$uid.root
